package aes.general;

import java.io.Serializable;


/**
 * The Class UserEntity.Entity Class. Contains all Data Fields regarding the User of the system.
 */
public class UserEntity implements Serializable {
	
	private String Id;
	private String Fname;
	private String Lname;
	private String pass;
	private String phone;
	private String email;
	private static final long serialVersionUID = 1L;
	
	
	/*Contractor*/
	/**
	 * Instantiates a new user entity.
	 *
	 * @param id the id
	 * @param fname the first name
	 * @param lname the last name
	 * @param pass the pass
	 * @param phone the phone
	 * @param email the email
	 */
	public UserEntity(String id, String fname, String lname, String pass,String phone, String email) {
		super();
		Id = id;
		Fname = fname;
		Lname = lname;
		this.pass = pass;
		this.phone = phone;
		this.email = email;
	}

	
	
	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public String getId() {
		return Id;
	}
	
	/**
	 * Sets the id.
	 *
	 * @param id the new id
	 */
	public void setId(String id) {
		Id = id;
	}
	
	/**
	 * Gets the first name.
	 *
	 * @return the first name.
	 */
	public String getFname() {
		return Fname;
	}
	
	/**
	 * Sets the first name.
	 *
	 * @param fname the new first name.
	 */
	public void setFname(String fname) {
		Fname = fname;
	}
	
	/**
	 * Gets the last name.
	 *
	 * @return the last name.
	 */
	public String getLname() {
		return Lname;
	}
	
	/**
	 * Sets the last name.
	 *
	 * @param lname the new last name.
	 */
	public void setLname(String lname) {
		Lname = lname;
	}
	
	/**
	 * Gets the password.
	 *
	 * @return the password
	 */
	public String getPass() {
		return pass;
	}
	
	/**
	 * Sets the password.
	 *
	 * @param pass the new password
	 */
	public void setPass(String pass) {
		this.pass = pass;
	}
	
	/**
	 * Gets the phone.
	 *
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	
	/**
	 * Sets the phone.
	 *
	 * @param phone the new phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	/**
	 * Gets the email.
	 *
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	
	/**
	 * Sets the email.
	 *
	 * @param email the new email
	 */
	public void setEmail(String email) {
		this.email = email;
	}
}
